package cn.edu.sjtu.se.dslab.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.edu.sjtu.se.dslab.component.aadl.AADLLoger;
import cn.edu.sjtu.se.dslab.dao.IAADLLogerDao;
import cn.edu.sjtu.se.dslab.service.IAadlLogerService;

@Service("aadlLogerService")
@Transactional
public class AadlLogerServiceImp implements IAadlLogerService {
	
	@Resource(name="aadlLogerDao")
	private IAADLLogerDao aadlLogerDao;
	
	@Override
	public void addAadlLoger(AADLLoger aadlLoger) {
		// TODO Auto-generated method stub
		aadlLogerDao.save(aadlLoger);
	}

}
